package com.xhh.nphm.system.mapper;

import com.xhh.nphm.system.domain.TmSensitiveAction;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author Administrator
* @description 针对表【tm_sensitive_action】的数据库操作Mapper
* @createDate 2022-06-13 17:17:03
* @Entity com.xhh.nphm.system.domain.TmSensitiveAction
*/
@Mapper
public interface TmSensitiveActionDao extends BaseMapper<TmSensitiveAction> {
    /**
     * 查询特殊行为列表数据
     *
     * @param sensitiveAction 封装特殊行为查询条件
     * @return 列表数据
     */
    @Select("SELECT pkId,sensitiveAction FROM tm_sensitive_action WHERE isDel = 0 " +
            "[[AND sensitiveAction =#{sensitiveAction}]]")
    List<TmSensitiveAction> listJson(TmSensitiveAction sensitiveAction);
}




